package entity

import (
	"shqsoft.cn/pasnj/base"
)

//对公其他认定分户
type COMP_QTZB_DIVI struct {
	ID   int     `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	YWID int     `gorm:"column:YWID"` //指标类型
	JLID int     `gorm:"column:JLID"` //记录方式
	EMID int     `gorm:"column:EMID"` //员工序号
	DSVL float64 `gorm:"column:DSVL"` //分户值
}

//TableName 对公其他认定分户
func (COMP_QTZB_DIVI) TableName() string {
	return "T_COMP_QTZB_DIVI"
}
func COMP_QTZB_DIVIEF() base.EntityFunc {
	return func() interface{} {
		entity := COMP_QTZB_DIVI{}
		return &entity
	}
}
func COMP_QTZB_DIVIESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []COMP_QTZB_DIVI
		return &entities
	}
}

func init() {
	base.DaoPoolObj.Put("COMP_QTZB_DIVI", base.NewDefaultDao(COMP_QTZB_DIVIEF(), COMP_QTZB_DIVIESF(), nil))
}
